package com.ftg.learn.bus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 操作记录表
 * </p>
 *
 * @author lalala
 * @since 2022-03-07
 */
@TableName("sys_log")
@ApiModel(value = "Log对象", description = "操作记录表")
public class Log implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("操作表id")
    @TableId(value = "lid", type = IdType.AUTO)
    private Long lid;

    @ApiModelProperty("操作功能名称")
    private String lname;

    @ApiModelProperty("所作操作")
    private String operations;

    @ApiModelProperty("操作人")
    private String operator;

    @ApiModelProperty("操作人")
    private Long nameid;

    @ApiModelProperty("操作日期")
    private LocalDateTime operationDate;

    public Long getLid() {
        return lid;
    }

    public Long getNameid() {
        return nameid;
    }

    public void setNameid(Long nameid) {
        this.nameid = nameid;
    }

    public void setLid(Long lid) {
        this.lid = lid;
    }
    public String getLname() {
        return lname;
    }

    public void setLname(String lname) {
        this.lname = lname;
    }
    public String getOperations() {
        return operations;
    }

    public void setOperations(String operations) {
        this.operations = operations;
    }
    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }
    public LocalDateTime getOperationDate() {
        return operationDate;
    }

    public void setOperationDate(LocalDateTime operationDate) {
        this.operationDate = operationDate;
    }

    @Override
    public String toString() {
        return "Log{" +
            "lid=" + lid +
            ", lname=" + lname +
            ", operations=" + operations +
            ", operator=" + operator +
            ", operationDate=" + operationDate +
            ", nameid=" + nameid +
        "}";
    }
}
